package cn.com.dpc.bean;

import java.util.Date;

/**
 * Alarm entity.
 * 
 * @author fwp
 */

public class Alarm implements java.io.Serializable {
	private Integer alarmNo;
	private Integer stationNo;
	private Short devNo;
	private Integer paramId;
	private Date alarmTime;
	private Short alarmLevel;
	private Short alarmState;
	private Float paramValue;
	private String confirmUser;
	private Date confirmTime;
	private Date recoverTime;
	private String stationName;
	private String devName;
	// private String name;
	private String sotypeNo;
	// private Set worksheets = new HashSet();

	// 为了在显示页面上有更多的属性.
	private String alarmSrc; // 判断图标
	private String trClassType; // 判断TR的样式
	private String isConfirm; // 判断告警是否确认
	private String isRecover; // 判断告警是否恢复
	private String trBgColor; // 判断TR底色
	private String almInfo; // 告警类别(紧急,重要,一般)

	private int length; // -1:无,0:派工,1:已派工

	private String stateName; // 告警状态名

	private String suffixName;
	private String alarmContent;// 告警内容

	public Integer getAlarmNo() {
		return alarmNo;
	}

	public void setAlarmNo(Integer alarmNo) {
		this.alarmNo = alarmNo;
	}

	public Integer getStationNo() {
		return stationNo;
	}

	public void setStationNo(Integer stationNo) {
		this.stationNo = stationNo;
	}

	public Short getDevNo() {
		return devNo;
	}

	public void setDevNo(Short devNo) {
		this.devNo = devNo;
	}

	public Integer getParamId() {
		return paramId;
	}

	public void setParamId(Integer paramId) {
		this.paramId = paramId;
	}

	public Date getAlarmTime() {
		return alarmTime;
	}

	public void setAlarmTime(Date alarmTime) {
		this.alarmTime = alarmTime;
	}

	public Short getAlarmLevel() {
		return alarmLevel;
	}

	public void setAlarmLevel(Short alarmLevel) {
		this.alarmLevel = alarmLevel;
	}

	public Short getAlarmState() {
		return alarmState;
	}

	public void setAlarmState(Short alarmState) {
		this.alarmState = alarmState;
	}

	public Float getParamValue() {
		return paramValue;
	}

	public void setParamValue(Float paramValue) {
		this.paramValue = paramValue;
	}

	public String getConfirmUser() {
		return confirmUser;
	}

	public void setConfirmUser(String confirmUser) {
		this.confirmUser = confirmUser;
	}

	public Date getConfirmTime() {
		return confirmTime;
	}

	public void setConfirmTime(Date confirmTime) {
		this.confirmTime = confirmTime;
	}

	public Date getRecoverTime() {
		return recoverTime;
	}

	public void setRecoverTime(Date recoverTime) {
		this.recoverTime = recoverTime;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public String getDevName() {
		return devName;
	}

	public void setDevName(String devName) {
		this.devName = devName;
	}

	public String getAlmInfo() {
		return almInfo;
	}

	public void setAlmInfo(String almInfo) {
		this.almInfo = almInfo;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public String getAlarmContent() {
		return alarmContent;
	}

	public void setAlarmContent(String alarmContent) {
		this.alarmContent = alarmContent;
	}

}